$OpenBSD: patch-src_client_CMakeLists_txt,v 1.4 2017/04/13 09:36:36 sthen Exp $
--- src/client/CMakeLists.txt.orig	Fri Mar 31 08:29:45 2017
+++ src/client/CMakeLists.txt	Wed Apr 12 19:55:03 2017
@@ -12,8 +12,8 @@ IF(USE_CXX_LINKER)
 	SET_TARGET_PROPERTIES(rspamc PROPERTIES LINKER_LANGUAGE CXX)
 ENDIF()
 
-IF(NOT DEBIAN_BUILD)
+IF(NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
 	SET_TARGET_PROPERTIES(rspamc PROPERTIES VERSION ${RSPAMD_VERSION})
-ENDIF(NOT DEBIAN_BUILD)
+ENDIF(NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
 
 INSTALL(TARGETS rspamc RUNTIME DESTINATION bin)
